package GameServer.net;

import com.alibaba.fastjson.JSON;

/**
 * Created by gzhd on 2017/11/29.
 * 消息处理接口
 */
public interface NetHandler {
    public void read(JSON request);
    public void write(JSON request);
    public void connect(String host);
    public void disconnect(String host);
    public void exceptionCaught(String host);
}
